export const HOOKS = [
  'onCreated',
  'onRendered',
  'onFirstRendered',
  'onBeforeTemplate',
  'onBeforeRender',
  'onAfterRendered'
]

export function inHooks( name ){
  return HOOKS.indexOf( name ) >= 0
}

export default{
  HOOKS
}